Accelerator SAP S/4HANA Billing Documents System API - Implementation Template

(0 reviews)

Setup guide

Please review the pre-requisite setup instructions for setting up SAP connector on MuleSoft.

Importing Templates into Anypoint Studio

  1. In Studio, click the Exchange X icon in the upper left of the taskbar.
  2. Log in with your Anypoint Platform credentials.
  3. Search for the template
  4. Click Open.

Running Templates in Anypoint Studio

After you import your template into Studio, follow these configuration steps to run it:

  1. Right-click the template project folder.
  2. Hover your mouse over 'Run as'.
  3. Click Mule Application (configure).
  4. Inside the dialog, select Environment and set the variable:
    • mule.env to the appropriate value (e.g., dev or local).
    • mule.key to the property encryption key that you used to encrypt your secure properties.
  5. Click Run.

HTTP Configuration

  • http.host — sets the service host interface. It should be configured in config-<mule.env>.yaml file. (Defaults to 0.0.0.0 for all interfaces)
  • https.port — sets the service port number. It should be configured in config-<mule.env>.yaml file. (Default 8082)
  • keystore.path — sets the path to the keystore. It should be configured in config-<mule.env>.yaml file. (Default accelerator-keystore.jks)
  • keystore.alias — sets the keystore alias. It should be configured in config-<mule.env>.yaml file. (Default solutionsteam)
  • keystore.keyPassword — sets the keystore keyPassword. It should be configured in config-<mule.env>.yaml file. (Default mulesoft)
  • keystore.password — sets the keystore password. It should be configured in config-<mule.env>.yaml file. (Default mulesoft)

Testing it

  • Use Advanced Rest Client or Postman to send a request over HTTP. The template includes a postman collection in the src/test/resources folder.
  • The environment file for the Postman collection is also included in the src/test/resources folder.

Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 28, 2021
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.0